package testJdk.io.reader;


import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;

/**
 * @version 1.0.0
 * Created by cyd on 2022-12-12 15:18:59
 * @ClassName : learn_jdk.io.reader.TxtReader
 * @Description : 类描述
 */
public class TxtReader {
    public static void main(String args[]) throws IOException {

        Path path = Paths.get("src/main/java/learn_jdk/io/reader/xssfilter.txt");
        List<String>  lines = Files.readAllLines(path);
        System.out.println(lines);
    }
}
